import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
       Scanner sc = new Scanner(System.in);
        int a=sc.nextInt();
        Scanner sd = new Scanner(System.in);
        int b=sd.nextInt();
        Scanner se = new Scanner(System.in);
        int c=se.nextInt();
        if(a>b&a>c)
        {
            System.out.println(a);
        }
        else if(b>c&b>a)
        {
            System.out.print(b);
        }
        else {
            System.out.print(c);
        }
    }
}
